package com.jindy.module.machineCostView.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * VIEW对象 machine_cost_view
 * 
 * @author jindy
 * @date 2023-06-05
 */
public class MachineCostView extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 结算单id */
    @Excel(name = "结算单id")
    private Long accountstatementid;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 日租金 */
    @Excel(name = "日租金")
    private BigDecimal dailyrent;

    /** 日租金合计 */
    @Excel(name = "日租金合计")
    private BigDecimal sumdailyrent;

    /** 起租日期 */
    @Excel(name = "起租日期")
    private String startdate;

    /** 到租日期 */
    @Excel(name = "到租日期")
    private String enddate;

    /** 使用天数 */
    @Excel(name = "使用天数")
    private Long days;

    /** 台次 */
    @Excel(name = "台次")
    private Long stage;

    /** 机器成本 */
    @Excel(name = "机器成本")
    private Long machinecost;

    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setAccountstatementid(Long accountstatementid) 
    {
        this.accountstatementid = accountstatementid;
    }

    public Long getAccountstatementid() 
    {
        return accountstatementid;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setDailyrent(BigDecimal dailyrent) 
    {
        this.dailyrent = dailyrent;
    }

    public BigDecimal getDailyrent() 
    {
        return dailyrent;
    }
    public void setSumdailyrent(BigDecimal sumdailyrent) 
    {
        this.sumdailyrent = sumdailyrent;
    }

    public BigDecimal getSumdailyrent() 
    {
        return sumdailyrent;
    }
    public void setStartdate(String startdate) 
    {
        this.startdate = startdate;
    }

    public String getStartdate() 
    {
        return startdate;
    }
    public void setEnddate(String enddate) 
    {
        this.enddate = enddate;
    }

    public String getEnddate() 
    {
        return enddate;
    }
    public void setDays(Long days) 
    {
        this.days = days;
    }

    public Long getDays() 
    {
        return days;
    }
    public void setStage(Long stage) 
    {
        this.stage = stage;
    }

    public Long getStage() 
    {
        return stage;
    }
    public void setMachinecost(Long machinecost) 
    {
        this.machinecost = machinecost;
    }

    public Long getMachinecost() 
    {
        return machinecost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("number", getNumber())
            .append("accountstatementid", getAccountstatementid())
            .append("model", getModel())
            .append("quantity", getQuantity())
            .append("dailyrent", getDailyrent())
            .append("sumdailyrent", getSumdailyrent())
            .append("startdate", getStartdate())
            .append("enddate", getEnddate())
            .append("days", getDays())
            .append("stage", getStage())
            .append("machinecost", getMachinecost())
            .toString();
    }
}
